package com.huaxin.common.Entity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by hebing on 2017/5/11.
 */

public class FindSearchBean implements Serializable {


    /**
     * informationArray : [{"date":1488290920000,"img":"http://www.iwatercloud.cn:8081/uploads/image/information/information/20170228220839526.jpg","description":"近日，日本电子电气公司日立（Hitachi）中标南非集成了海水淡化和水回用系统为一体的RemixWater示范项目，并将负责该项目的运营。","id":332,"title":"日企Hitachi中标南非海水淡化和水回用集成系统","url":"http://www.h2o-china.com/news/250243.html"}]
     * totalNum : 7
     * pageSize : 15
     * userArray : [{"img":"http://www.iwatercloud.cn:8081/uploads/image/userHeadImg/20170427113954647.jpg","nickname":"Hong","id":378,"title":""},{"img":"http://www.iwatercloud.cn:8081/uploads/image/userHeadImg/20170413160213063.jpg","nickname":"chenmeng","id":447,"title":""}]
     * type : 0
     * questionArray : [{"commentNum":0,"likeerNum":3,"questionId":127,"collectionNum":3,"isLike":false,"imgUrls":null,"isFan":true,"likeerArray":[{"img":"http://www.iwatercloud.cn:8081/uploads/image/userHeadImg/20170419141745465.jpg","nickName":"冇","id":438},{"img":"http://www.iwatercloud.cn:8081/uploads/image/userHeadImg/20170510114815779.jpg","nickName":"WuferzZ","id":376},{"img":"http://www.iwatercloud.cn:8081/uploads/image/userHeadImg/20170424172519981.jpg","nickName":"华信官方","id":444}],"publishDate":1494206255000,"isCollection":true,"publisher":{"img":"http://www.iwatercloud.cn:8081/uploads/image/userHeadImg/20170510114815779.jpg","nickName":"WuferzZ","id":376},"content":"Ceshi"},{"commentNum":0,"likeerNum":0,"questionId":82,"collectionNum":0,"isLike":false,"imgUrls":["http://www.iwatercloud.cn:8081/uploads/image/question/1492650118000.png","http://www.iwatercloud.cn:8081/uploads/image/question/1492650118001.png","http://www.iwatercloud.cn:8081/uploads/image/question/1492650118002.png","http://www.iwatercloud.cn:8081/uploads/image/question/1492650118003.png","http://www.iwatercloud.cn:8081/uploads/image/question/1492650118004.png","http://www.iwatercloud.cn:8081/uploads/image/question/1492650118005.png"],"isFan":true,"likeerArray":[],"publishDate":1492650119000,"isCollection":false,"publisher":{"img":"http://www.iwatercloud.cn:8081/uploads/image/userHeadImg/20170510114815779.jpg","nickName":"WuferzZ","id":376},"content":" Shuaxinjizhiceshi"},{"commentNum":0,"likeerNum":0,"questionId":76,"collectionNum":0,"isLike":false,"imgUrls":null,"isFan":true,"likeerArray":[],"publishDate":1492585008000,"isCollection":false,"publisher":{"img":"http://www.iwatercloud.cn:8081/uploads/image/userHeadImg/20170510114815779.jpg","nickName":"WuferzZ","id":376},"content":"Shijianceshi"},{"commentNum":0,"likeerNum":0,"questionId":55,"collectionNum":0,"isLike":false,"imgUrls":["http://www.iwatercloud.cn:8081/uploads/image/question/1492562412000.png","http://www.iwatercloud.cn:8081/uploads/image/question/1492562412001.png","http://www.iwatercloud.cn:8081/uploads/image/question/1492562412002.png","http://www.iwatercloud.cn:8081/uploads/image/question/1492562412003.png"],"isFan":true,"likeerArray":[],"publishDate":1492562413000,"isCollection":false,"publisher":{"img":"http://www.iwatercloud.cn:8081/uploads/image/userHeadImg/20170510114815779.jpg","nickName":"WuferzZ","id":376},"content":"Ceshi"}]
     * pageNum : 0
     */

    private int totalNum;
    private int pageSize;
    private int type;
    private int pageNum;
    private List<InformationArrayBean> informationArray;
    private List<UserArrayBean> userArray;
    private List<QuestionArrayBean> questionArray;

    private int datasType;

    public int getDatasType() {
        return datasType;
    }

    public void setDatasType(int datasType) {
        this.datasType = datasType;
    }

    public int getTotalNum() {
        return totalNum;
    }

    public void setTotalNum(int totalNum) {
        this.totalNum = totalNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public List<InformationArrayBean> getInformationArray() {
        return informationArray;
    }

    public void setInformationArray(List<InformationArrayBean> informationArray) {
        this.informationArray = informationArray;
    }

    public List<UserArrayBean> getUserArray() {
        return userArray;
    }

    public void setUserArray(List<UserArrayBean> userArray) {
        this.userArray = userArray;
    }

    public List<QuestionArrayBean> getQuestionArray() {
        return questionArray;
    }

    public void setQuestionArray(List<QuestionArrayBean> questionArray) {
        this.questionArray = questionArray;
    }

    public static class InformationArrayBean implements Serializable {
        /**
         * date : 1488290920000
         * img : http://www.iwatercloud.cn:8081/uploads/image/information/information/20170228220839526.jpg
         * description : 近日，日本电子电气公司日立（Hitachi）中标南非集成了海水淡化和水回用系统为一体的RemixWater示范项目，并将负责该项目的运营。
         * id : 332
         * title : 日企Hitachi中标南非海水淡化和水回用集成系统
         * url : http://www.h2o-china.com/news/250243.html
         */

        private long date;
        private String img;
        private String description;
        private int id;
        private String title;
        private String url;

        public long getDate() {
            return date;
        }

        public void setDate(long date) {
            this.date = date;
        }

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }
    }

    public static class UserArrayBean implements Serializable {
        /**
         * img : http://www.iwatercloud.cn:8081/uploads/image/userHeadImg/20170427113954647.jpg
         * nickname : Hong
         * id : 378
         * title :
         */

        private String img;
        private String nickname;
        private int id;
        private String title;

        public UserArrayBean(String img, String nickname, int id, String title) {
            this.img = img;
            this.nickname = nickname;
            this.id = id;
            this.title = title;
        }

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }
    }

    public static class QuestionArrayBean implements Serializable {
        /**
         * commentNum : 0
         * likeerNum : 3
         * questionId : 127
         * collectionNum : 3
         * isLike : false
         * imgUrls : null
         * isFan : true
         * likeerArray : [{"img":"http://www.iwatercloud.cn:8081/uploads/image/userHeadImg/20170419141745465.jpg","nickName":"冇","id":438},{"img":"http://www.iwatercloud.cn:8081/uploads/image/userHeadImg/20170510114815779.jpg","nickName":"WuferzZ","id":376},{"img":"http://www.iwatercloud.cn:8081/uploads/image/userHeadImg/20170424172519981.jpg","nickName":"华信官方","id":444}]
         * publishDate : 1494206255000
         * isCollection : true
         * publisher : {"img":"http://www.iwatercloud.cn:8081/uploads/image/userHeadImg/20170510114815779.jpg","nickName":"WuferzZ","id":376}
         * content : Ceshi
         */

        private int commentNum;
        private int likeerNum;
        private int questionId;
        private int collectionNum;
        private boolean isLike;
        private List<String> imgUrls;
        private boolean isFan;
        private long publishDate;
        private boolean isCollection;
        private PublisherBean publisher;
        private String content;
        private List<LikeerArrayBean> likeerArray;

        public List<String> getImgUrls() {
            return imgUrls;
        }

        public void setImgUrls(List<String> imgUrls) {
            this.imgUrls = imgUrls;
        }

        public int getCommentNum() {
            return commentNum;
        }

        public void setCommentNum(int commentNum) {
            this.commentNum = commentNum;
        }

        public int getLikeerNum() {
            return likeerNum;
        }

        public void setLikeerNum(int likeerNum) {
            this.likeerNum = likeerNum;
        }

        public int getQuestionId() {
            return questionId;
        }

        public void setQuestionId(int questionId) {
            this.questionId = questionId;
        }

        public int getCollectionNum() {
            return collectionNum;
        }

        public void setCollectionNum(int collectionNum) {
            this.collectionNum = collectionNum;
        }

        public boolean isIsLike() {
            return isLike;
        }

        public void setIsLike(boolean isLike) {
            this.isLike = isLike;
        }


        public boolean isIsFan() {
            return isFan;
        }

        public void setIsFan(boolean isFan) {
            this.isFan = isFan;
        }

        public long getPublishDate() {
            return publishDate;
        }

        public void setPublishDate(long publishDate) {
            this.publishDate = publishDate;
        }

        public boolean isIsCollection() {
            return isCollection;
        }

        public void setIsCollection(boolean isCollection) {
            this.isCollection = isCollection;
        }

        public PublisherBean getPublisher() {
            return publisher;
        }

        public void setPublisher(PublisherBean publisher) {
            this.publisher = publisher;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public List<LikeerArrayBean> getLikeerArray() {
            return likeerArray;
        }

        public void setLikeerArray(List<LikeerArrayBean> likeerArray) {
            this.likeerArray = likeerArray;
        }

        public static class PublisherBean {
            /**
             * img : http://www.iwatercloud.cn:8081/uploads/image/userHeadImg/20170510114815779.jpg
             * nickName : WuferzZ
             * id : 376
             */

            private String img;
            private String nickName;
            private int id;

            public String getImg() {
                return img;
            }

            public void setImg(String img) {
                this.img = img;
            }

            public String getNickName() {
                return nickName;
            }

            public void setNickName(String nickName) {
                this.nickName = nickName;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }
        }

        public static class LikeerArrayBean {
            /**
             * img : http://www.iwatercloud.cn:8081/uploads/image/userHeadImg/20170419141745465.jpg
             * nickName : 冇
             * id : 438
             */

            private String img;
            private String nickName;
            private int id;

            public String getImg() {
                return img;
            }

            public void setImg(String img) {
                this.img = img;
            }

            public String getNickName() {
                return nickName;
            }

            public void setNickName(String nickName) {
                this.nickName = nickName;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }
        }
    }
}
